package com.smscenter.server.core.response;

import java.util.HashMap;
import  java.util.Map;

/**
 * Created by Administrator on 2016-02-20.
 */
public class VComcnReponse {

    private static Map<String,String> response=new HashMap<String, String>();

    private static VComcnReponse instance = new VComcnReponse();

    private VComcnReponse (){
         response.put("00","SUCCESS");
         response.put("01","错误的用户名或密码");
         response.put("02","余额不足");
         response.put("08","发送时间小于当前时间");
         response.put("09","发送开始时间大于结束时间");
    }

    public static VComcnReponse getInstance() {
        return instance;
    }

    public String getResponseMessage(String code){
        return response.get(code);
    }

}
